package com.sdnu.service.entity.quest;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Konjacer
 * @since 2022-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="StudentData对象", description="")
public class StudentData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = " 学生id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "学生姓名")
    private String name;

    @ApiModelProperty(value = "学生性别 0：男 1：女")
    private Integer sex;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "学生入学时间")
    private Date admissionDate;

    @ApiModelProperty(value = "学生在校学习专业")
    private String major;

    @ApiModelProperty(value = "学生联系方式")
    private String phone;

    @ApiModelProperty(value = "学生现（原）工作单位")
    private String workOrganization;

    @ApiModelProperty(value = "学生现（原）职务")
    private String positionNow;

    @ApiModelProperty(value = "学生拟自荐理事会职务 0：会长 1：副会长 2：秘书长 3：理事")
    private Integer positionWant;

    @ApiModelProperty(value = "记录创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "记录修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;

    @ApiModelProperty(value = "是否被删除 0：否 1：是")
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    private Integer isDeleted;

}
